package com.crmweb.serviceImpl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.crmweb.dao.UserChecksDao;
import com.crmweb.entity.Userchecks;
import com.crmweb.service.UserCheckService;
@Service
public class UserCkeckServiceImpl implements UserCheckService{
@Autowired
private UserChecksDao ucd;
	@Override
	public List<Userchecks> selAllUserchecksByWhere(Userchecks uck) {
		// TODO Auto-generated method stub
		return ucd.selAllUserchecksByWhere(uck);
	}
	@Override
	public int getcountByWhere(Userchecks uck) {
		// TODO Auto-generated method stub
		return ucd.getcountByWhere(uck);
	}
	@Override
	public int userCheckOut(int id) {
		// TODO Auto-generated method stub
		return ucd.userCheckOut(id);
	}
	@Override
	public int saveUserCheck(Userchecks userCheck) {
		// TODO Auto-generated method stub
		return ucd.saveUserCheck(userCheck);
	}
	@Override
	public int updateUserCheck(Userchecks userCheck) {
		// TODO Auto-generated method stub
		return ucd.updateUserCheck(userCheck);
	}
	@Override
	public Userchecks getUserCheckByUserId(String userId) {
		// TODO Auto-generated method stub
		return ucd.getUserCheckByUserId(userId);
	}
	@Override
	public int updateUserCheckByCondition(Userchecks userCheck) {
		// TODO Auto-generated method stub
		return ucd.updateUserCheckByCondition(userCheck);
	}

}
